package de.dhe.opencart.repository.domain;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the product_to_layout database table.
 * 
 */
@Entity
@Table(name="product_to_layout")
public class ProductToLayout implements Serializable {
	private static final long serialVersionUID = 1L;

	@EmbeddedId
	private ProductToLayoutPK id;

	@Column(name="layout_id")
	private int layoutId;

    public ProductToLayout() {
    }

	public ProductToLayoutPK getId() {
		return this.id;
	}

	public void setId(ProductToLayoutPK id) {
		this.id = id;
	}
	
	public int getLayoutId() {
		return this.layoutId;
	}

	public void setLayoutId(int layoutId) {
		this.layoutId = layoutId;
	}

}